<?php
/**
 * 系统参数
 *
 *
 *
 *
 * @copyright  Copyright (c) 2014-2015 TuntronKJ Inc. (http://www.tuntron.com)
 * @license    http://www.tuntron.com
 * @link       http://www.tuntron.com
 * @since      File available since Release v1.1
 */
defined('InTuntronKJ') or exit('Access Invalid!');
class paramsModel extends Model {

    public function __construct(){
        parent::__construct('params');
    }

    
    /**
     *
     * @param unknown $condition
     */
    public function getParamsInfo($condition) {
    	return $this->where($condition)->find();
    }
    
	/**
	 * 系统配置信息
	 * @param unknown $condition
	 * @param string $field
	 */
    public function getParamsList($condition = array(), $field = '*') {
    	return $this->where($condition)->select();
    }
    
    
    
}
